package com.zhengwl.study.inherit;

public class GrandFather {
	private int age=78;
	
	public String name="张三丰";
	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
	
	public String getName() {
		System.out.println("-----------GrandFather getName-----------");
		return name;
	}
}
